home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
dev_libs
/
feelin040718
/
sources
/
dataspace
/
private.h
< prev
next >
Wrap
C/C++ Source or Header
|
2004-08-03
|
1KB
|
60 lines
/*
FC_Dataspace Header
*/
#include <exec/memory.h>
#include <libraries/iffparse.h>
#include <libraries/feelin.h>
#include <proto/exec.h>
#include <proto/iffparse.h>
#include <proto/utility.h>
#include <proto/feelin.h>
extern struct FeelinBase *FeelinBase;
#define SysBase FeelinBase->SYS
#define DOSBase FeelinBase->DOS
#define UtilityBase FeelinBase->Utility
extern struct Library *IFFParseBase;
/*** Dynamics **************************************************************/
enum { // Methods
FM_Dataspace_Add,
FM_Dataspace_Remove,
FM_Dataspace_Find,
FM_Dataspace_Clear,
FM_Dataspace_Merge,
FM_Dataspace_ReadIFF,
FM_Dataspace_WriteIFF
};
enum { // Attributes
FA_Dataspace_Pool
};
/*** Structures ************************************************************/
struct LocalObjectData
{
ULONG Flags;
APTR Pool;
struct FeelinList Chunks;
};
struct FeelinChunkData
{
struct FeelinNode *Next;
struct FeelinNode *Prev;
/* end of FeelinNode header */
ULONG ID;
ULONG Size;
/* data bellow */
};
#define FF_Dataspace_Allocated (1L << 0)